package com.stxx.framwork.constants;
import com.stxx.framwork.support.OptionInterface;
import org.dromara.mica.mqtt.codec.MqttVersion;

public enum MqttVersionType implements OptionInterface {
    MQTT_5("MQTT5"),
    MQTT_3_1_1("MQTT3.1.1"),
    MQTT_3_1("MQTT3.1");
    private final String label;
    MqttVersionType(String label){
        this.label = label;
    }
    @Override
    public String getValue() {
        return this.name();
    }
    @Override
    public String getLabel(){
        return label;
    }
}
